<?php
namespace Common\Service;

class PyService
{
    /**
     * 中午转拼音
     * @param  string $value [description]
     * @return [type]        [description]
     */
    public function chinese2py($string = '')
    {
        Vendor('utf8py');
        $py = new \CUtf8_PY();

        return $py->encode($string, 'all');
    }
}
